package com.ruoyi.system.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.DevParastructPub;
import com.ruoyi.system.service.DevParastructPubService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/pup")
public class DevParastructPubController extends BaseController {
    @Autowired
    private DevParastructPubService devParastructPubService;

    @GetMapping("ListPud")
    public TableDataInfo ListPup(DevParastructPub devParastructPub){
        List<DevParastructPub>list=devParastructPubService.ListPup(devParastructPub);
        return getDataTable(list);
    }
}
